<html>
<body>
<video src="../media/bear.ogv" id="video"></video>
<script>
  elem = document.getElementById("video");
  elem.addEventListener("loadedmetadata", function() {
    domAutomationController.send("FINISHED");
  });
  elem.load();
</script>
</body>
</html>
